﻿namespace GameLib.Games.Components
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    /// <summary>
    /// A concrete implementation of an AbstractModMatchCollection
    /// </summary>
    /// <typeparam name="T">The type of IModMatcher used</typeparam>
    /// <typeparam name="U">The type of IMod used</typeparam>
    public class ModMatchCollection<T> : AbstractModMatchCollection<T> 
        where T : IMod
    {
        /// <summary>
        /// Initializes a new instance of the ModMatchCollection class
        /// </summary>
        /// <param name="modMatcher">The mod matcher to include</param>
        /// <param name="modList">The mod list matched against</param>
        public ModMatchCollection(IModMatcher modMatcher, IModCollection<T> modList)
        {
            ModMatcher = modMatcher;
            ModList = modList;
        }
    }
}
